package router

import (
	"day12_12_homework/internal/router/Introduction"
	"day12_12_homework/internal/router/content"
	"day12_12_homework/internal/router/friend"
	"day12_12_homework/internal/router/tools"
	"day12_12_homework/internal/router/user"
	"day12_12_homework/internal/router/websocket"
	"github.com/gin-gonic/gin"
)

func Router(c *gin.Engine) {
	routers := c.Group("/v1")
	{
		user.UserRouter(routers)
		Introduction.IntroductionRouter(routers)
		content.ContentRouter(routers)
		websocket.WebSocketRouter(routers)
		friend.FriendRouter(routers)
		tools.ToolRouter(routers)
	}
}
